package com.atguigu.eduservice.client;

import com.atguigu.commonutils.R;
import org.springframework.stereotype.Component;

@Component
public class UcenterFeignClient implements UcenterClient {
    //出错之后会执行
    @Override
    public R getMemberInfoByToken(String jwtToken) {
        System.out.println("###熔断器###");
        return R.error().message("根据token查询用户信息出错");
    }
}
